<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<?php include("../../MerchandiseBay/conn.php"); ?>
<?
$accept=$_REQUEST['accept'];
$id=$_REQUEST['id'];


//$sqlReservation="select * from reservation where id='$id'";
//$qryReservation=mysql_query($sqlReservation,$conn);

//$sqlUpdate="update reservation set accept='$accept' where id='$id'";
//$qryUpdate=mysql_query($sqlUpdate,$conn);

//$sql="update kind set category='$category',kind='$kind' where id='$id'";
//$qry=mysql_query($sql,$conn);

//$sql="update reservation where id='$id'";
//$qry=mysql_query($sql,$conn);


$SQL="insert into reservation (accept) values ('$accept') where id='$id'";
$Query=mysql_query($SQL,$conn);


//semua table akan berubah data untuk data category, apabila data category dalam table category berubah


?>

<script language=javascript>
window.alert("Update successfull");
window.location.assign("listReservation.php");
</script>
</head>

<body>

</body>

</html>
